import '../../../../lib_baseview/widget/dialogs.dart';
import '../../interface/chat_room_leaf_interface.dart';

class UserListPageOnlineModel extends ChatRoomChangeNotifier {
  @override
  observeMessage(int messageId, data) {}

  @override
  onRootProxyModelCreated() {
    requestData();
  }

  // ChannelUserListRsp? data;

  requestData() async {
    showLoadingDialog();
    // data = (await RtcApi.instance.getChannelUserList(
    //         roomModel.channel!.channelId, 0, 200,
    //         scope: ""))
    //     .data;
    dismissLoadingDialog();
    notifyListeners();
  }

  // onItemPressed(BuildContext context, SimpleChannelUser item) {
  //   RoomPersonalDataWidget.show(context,roomModel.channel, item);
  // }
}
